home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 57.zip / BS1 part 57 / Pro-net personal v2.0 d1.adf / merge < prev    next >
Text File  |  1989-12-14  |  4KB  |  90 lines

  1. . MERGE
  2. .KEY SRC,DEST
  3. version 99.99
  4. if warn
  5.    failat 31
  6.    lab MOUNT1
  7.    mount Rad: FROM PRO-NET_P:MountListForRad
  8.    relabel Rad: MyRad
  9.    diskchange Rad:
  10.    if warn
  11.       ask "Not enough memory for RAD:, use slow installation method?(Y/N)"
  12.       if not warn
  13.          skip MOUNT1 back
  14.       endif
  15.    endif
  16.    echo "If you are using RAD in memory, its contents will be erased."
  17.    ask "OK to erase? Press Y if unsure.(Y/N)"
  18.    if not warn
  19.       skip NoRad
  20.    endif
  21.    ECHO " "
  22.    ECHO "Please insert library disk in <SRC>"
  23.    diskcopy <SRC> to Rad: NAME MyRad
  24.    IF EXISTS <DEST>PRO-NET_P/PRO-NET_P
  25.       RAM:MERGELIB Rad:PNDIR/TTL  <DEST>PRO-NET_P/PNDIR/TTL
  26.       RAM:MERGELIB Rad:PNDIR/MTTL  <DEST>PRO-NET_P/PNDIR/MTTL
  27.       RAM:MERGELIB Rad:PNDIR/VLSI  <DEST>PRO-NET_P/PNDIR/VLSI
  28.       RAM:MERGELIB Rad:PNDIR/ECL  <DEST>PRO-NET_P/PNDIR/ECL
  29.       RAM:MERGELIB Rad:PNDIR/Analog  <DEST>PRO-NET_P/PNDIR/Analog
  30.       RAM:MERGELIB Rad:PNDIR/Discrete  <DEST>PRO-NET_P/PNDIR/Discrete
  31.       RAM:MERGELIB Rad:PNDIR/user  <DEST>PRO-NET_P/PNDIR/User
  32.       RAM:MERGELIB Rad:PNDIR/schem  <DEST>PRO-NET_P/PNDIR/schem
  33.       RAM:MERGELIB Rad:PNDIR/Symbol  <DEST>PRO-NET_P/PNDIR/Symbol
  34.       RAM:MERGELIB Rad:PNDIR/MOS  <DEST>PRO-NET_P/PNDIR/MOS
  35.    ELSE
  36.       RAM:MERGELIB Rad:PNDIR/TTL  <DEST>PNDIR/TTL
  37.       RAM:MERGELIB Rad:PNDIR/MTTL  <DEST>PNDIR/MTTL
  38.       RAM:MERGELIB Rad:PNDIR/VLSI  <DEST>PNDIR/VLSI
  39.       RAM:MERGELIB Rad:PNDIR/ECL  <DEST>PNDIR/ECL
  40.       RAM:MERGELIB Rad:PNDIR/Analog  <DEST>PNDIR/Analog
  41.       RAM:MERGELIB Rad:PNDIR/Discrete  <DEST>PNDIR/Discrete
  42.       RAM:MERGELIB Rad:PNDIR/user  <DEST>PNDIR/User
  43.       RAM:MERGELIB Rad:PNDIR/schem  <DEST>PNDIR/schem
  44.       RAM:MERGELIB Rad:PNDIR/Symbol <DEST>PNDIR/Symbol
  45.       RAM:MERGELIB Rad:PNDIR/MOS  <DEST>PNDIR/MOS
  46.    ENDIF
  47.    echo " "
  48.    echo " "
  49.    echo "If you don't have any more Libraries Disk(s) to be installed/merged,"
  50.    echo "Please remove RAD by typing REMRAD, then Reboot the system."
  51.    skip ENDMERGE
  52. endif
  53. lab NoRad
  54. ECHO " "
  55. ECHO "Please insert library disk in <SRC>"
  56. ASK "Are you ready (Y/N)?"
  57. IF WARN
  58.    IF EXISTS <DEST>PRO-NET_P/PRO-NET_P
  59.       RAM:MERGELIB <SRC>PNDIR/TTL  <DEST>PRO-NET_P/PNDIR/TTL
  60.       RAM:MERGELIB <SRC>PNDIR/MTTL  <DEST>PRO-NET_P/PNDIR/MTTL
  61.       RAM:MERGELIB <SRC>PNDIR/VLSI  <DEST>PRO-NET_P/PNDIR/VLSI
  62.       RAM:MERGELIB <SRC>PNDIR/ECL  <DEST>PRO-NET_P/PNDIR/ECL
  63.       RAM:MERGELIB <SRC>PNDIR/Analog  <DEST>PRO-NET_P/PNDIR/Analog
  64.       RAM:MERGELIB <SRC>PNDIR/Discrete  <DEST>PRO-NET_P/PNDIR/Discrete
  65.       RAM:MERGELIB <SRC>PNDIR/user  <DEST>PRO-NET_P/PNDIR/User
  66.       RAM:MERGELIB <SRC>PNDIR/schem  <DEST>PRO-NET_P/PNDIR/schem
  67.       RAM:MERGELIB <SRC>PNDIR/Symbol  <DEST>PRO-NET_P/PNDIR/Symbol
  68.       RAM:MERGELIB <SRC>PNDIR/MOS  <DEST>PRO-NET_P/PNDIR/MOS
  69.    ELSE
  70.       RAM:MERGELIB <SRC>PNDIR/TTL  <DEST>PNDIR/TTL
  71.       RAM:MERGELIB <SRC>PNDIR/MTTL  <DEST>PNDIR/MTTL
  72.       RAM:MERGELIB <SRC>PNDIR/VLSI  <DEST>PNDIR/VLSI
  73.       RAM:MERGELIB <SRC>PNDIR/ECL  <DEST>PNDIR/ECL
  74.       RAM:MERGELIB <SRC>PNDIR/Analog  <DEST>PNDIR/Analog
  75.       RAM:MERGELIB <SRC>PNDIR/Discrete  <DEST>PNDIR/Discrete
  76.       RAM:MERGELIB <SRC>PNDIR/user  <DEST>PNDIR/User
  77.       RAM:MERGELIB <SRC>PNDIR/schem  <DEST>PNDIR/schem
  78.       RAM:MERGELIB <SRC>PNDIR/Symbol <DEST>PNDIR/Symbol
  79.       RAM:MERGELIB <SRC>PNDIR/MOS  <DEST>PNDIR/MOS
  80.    ENDIF
  81. ENDIF
  82. LAB ENDMERGE
  83. ECHO " "
  84. ECHO "If you have more library disks to merge, Please enter this command:"
  85. ECHO " "
  86. ECHO "EXECUTE PRO-NET_P:MERGE_LIBRARIES  source_drive  destination_drive"
  87. ECHO " "
  88. QUIT
  89.  
  90.